﻿<%@ Page Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<MyVoteMVC.Web.Models.RegisterModel>" %>

<asp:Content ID="registerTitle" ContentPlaceHolderID="TitleContent" runat="server">
    注册新用户
</asp:Content>
<asp:Content ID="registerContent" ContentPlaceHolderID="MainContent" runat="server">
    <%-- <script src="<%: Url.Content("~/Scripts/jquery.validate.min.js") %>" type="text/javascript"></script>
    <script src="<%: Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js") %>"
        type="text/javascript"></script>--%>
    <% using (Html.BeginForm())
       { %>
    <%: Html.ValidationSummary(true, "注册失败。") %>
    <div class="example">
        <h2 class="example-title">
            注册新用户</h2>
        <fieldset class="configurator">
            <h3 class="legend">
                请填写用户邮箱
            </h3>
            <p></p>
            <ul>
                <li></li>
                <li>
                    <%: Html.TextBoxFor(m => m.UserName, new { @class="t-input",@style="width:200px"})%>
                    &nbsp; @gzdi.com</li>
                <li>
                    <%: Html.ValidationMessageFor(m => m.UserName) %></li>
            </ul>            
            <p>
                <input type="submit" value="提交" class="t-button" />
            </p>
        </fieldset>
    </div>
    <% } %>
</asp:Content>
